#include <iostream>
#include <stdio.h>
#include <string.h>
//#include <math.h>
using namespace std;

int main()
{
    int f0, f1, f2, a, b, c;
    int f11, f22;
    int f3, f4, f5;
    while (cin >> f0 >> f1 >> f2)
    {
        c = f0;
        f11 = f1 - c;
        f22 = f2 - c;
        f11 *=2;
        a = (f22-f11)>>1;
        b = f1 - a - c;
        f3 = 9*a + 3*b +c;
        f4 = 16*a + 4*b +c;
        f5 = 25*a + 5*b +c;
        cout << f3 << " "<< f4 << " "<< f5 << endl;
        
    }    

    
    return 0;
}    


